import ReactDOM from 'react-dom/client'
import React from 'react'
import BasicLayout from './layouts/BasicLayout'
import ConfigTheme from '../public/style/theme'
import { Provider } from 'react-redux'
import store from './store/store'

const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
  <React.Fragment>
    {/*<div>博客中心</div>*/}
    {/*<a href="/admin.html" target="_blank">用户中心</a>*/}
    <ConfigTheme>
      <Provider store={store}>
        <BasicLayout/>
      </Provider>
    </ConfigTheme>
  </React.Fragment>
)
